package com.example.springboot.service;

import com.example.springboot.entity.Notice;
import com.example.springboot.mapper.NoticeMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NoticeService {

    @Resource
    NoticeMapper noticeMapper;

    public List<Notice> selectAll(Notice notice) {
        return noticeMapper.selectAll(notice);
    }

}
